package org.example.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Entity
@Getter
@Setter
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Business {
    @Column
    @Id
    String businessId;
    @Column
    String businessName;
    @Column
    String businessAddress;
    @Column
    String businessExplain;
    @Column
    String businessImg;
    @Column
    String remarks;
    @Column
    Integer orderTypeId;
    @Column
    Double starPrice;
    @Column
    Double deliveryPrice;

    @Transient
    List<Food> foodList;
}
